<template>
  <view class="homepage">
    <view class="wrapper">
      <view class="flex-col wraper-row">
        <!-- 图标 -->
        <view class="css-u-cion">
          <u-icon
            class="icon-checkmark-circle"
            name="checkmark-circle"
            size="60px"
            color="#ffffff"
          ></u-icon>
        </view>
        <text class="text"> 支付成功 </text>
        <!-- 返回首页与查看订单 -->
        <view class="box">
          <navigator
            class="box-left"
            url="/pages/order/create_order/index"
            open-type="navigate"
            hover-class="navigator-hover"
          >
            返回首页
          </navigator>

          <navigator
            class="box-right"
            url="/pages/order/Order_details/index"
            open-type="navigate"
            hover-class="navigator-hover"
          >
            查看订单
          </navigator>
        </view>
      </view>
    </view>
  </view>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {},
};
</script>
<style lang="scss" scoped>
/** 全局样式-开始,建议放在公共css样式文件中,比如common.css 或app.vue文件 */

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-size: 16px;
}

view,
text,
image {
  position: relative;
  box-sizing: border-box;
  flex-shrink: 0;
}

.flex-col {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.flex-row {
  display: flex;
  align-items: flex-start;
}

.flex-col .flex-row {
  width: 100%;
}

/** 全局样式-结束*/

.homepage {
  .wrapper {
    width: 100%;
    height: 1334rpx;
    min-height: 100vh;
    background: #27b99a;

    .wraper-row {
      width: 350rpx;
      padding-top: 120rpx;
      top: 0rpx;
      margin: 0 auto;

      .css-u-cion {
        width: 120rpx;
        height: 120rpx;
        margin: 0 auto;
      }

      .icon-checkmark-circle {
        display: block;
        margin-right: auto;
        margin-bottom: 20rpx;
        margin-left: auto;
      }

      .text {
        display: block;
        margin-right: auto;
        margin-bottom: 6rpx;
        margin-left: auto;
        font-size: 36rpx;
        font-weight: 400;
        color: #ffffff;
      }

      .box {
        height: 60rpx;
        line-height: 60rpx;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 60rpx;
        color: #fff;
        font-size: 28rpx;

        .box-left {
          width: 200rpx;
          border-radius: 64rpx;
          border: 1rpx solid #fff;
          text-align: center;
        }

        .box-right {
          text-align: center;
          margin: 0 10rpx;
          font-size: 28rpx;
        }
      }
    }
  }
}
</style>